home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 51 / Amiga Format CD51 (2000-03-10)(Future Publishing)(GB)[!][issue 2000-04].iso / -in_the_mag- / pdselect / awnp / install-awnpipe < prev    next >
Text File  |  2000-02-16  |  2KB  |  88 lines

  1. ; $VER: Install_AWeb-II 1.0 11.07.99
  2. ; 11 Jul 1999 WHMP
  3. ; Description: Installer script for AWNPipe
  4.  
  5. (set v39 (>= (/ (getversion "exec.library" (resident)) 65536) 39))
  6. (set awv 3)
  7. (set awr 1)
  8. (set #needInst43 "You must use Installer version 43 or greater.  Use the Installer program from your AWeb-II disk.")
  9. (if (< (/ @installer-version 65536) 43)
  10.   (abort #needInst43)
  11. )
  12. (set #welcome
  13. (cat "\n"
  14.      "AWNPipe: is more than a pipe.\n\n"
  15.      "Along with the standard pipe features AWNPipe"
  16.      " has other uses like duplication of a data stream,"
  17.      " translating data, clipboard and tooltypes access,"
  18.      " building-operating of ClassAct GUIs and more.\n\n"
  19.      " Please take a moment and browse the documentation"
  20.      " once the instalation is complete."
  21.   )
  22. )
  23.  
  24. (complete 1)
  25. (message #welcome)
  26.  
  27. (set #destdir-prompt
  28.   (cat "Please select the directory where you want the AWNPipe"
  29. " documentation and Examples installed.\n"
  30.     "A directory 'AWNP-Docs' will be created here."
  31.       )
  32. )
  33. (complete 5)
  34. (set #installing "Installing ")
  35. (copylib
  36.   (source "device/awnpipe-handler")
  37.   (dest "l:")
  38.   (prompt #installing "AWNPipe-handler")
  39. )
  40. (complete 20)
  41.   (copyfiles
  42.     (dest "Devs:dosdrivers")
  43.     (source "device/awnpipe")
  44.     (prompt #installing "AWNPipe:")
  45.     (infos)
  46.   )
  47. (complete 40)
  48.     (set defdir
  49.       (askdir
  50.         (prompt #destdir-prompt)
  51.         (help @askdir-help)
  52.         (default @default-dest)
  53.       )
  54.     )
  55.  
  56. (complete 50)
  57.  
  58.  
  59.     (makedir (tackon defdir "AWNP-Docs") (infos))
  60.     (set @default-dest (tackon defdir "AWNP-Docs"))
  61.  
  62. (complete 55)
  63.  
  64.   (copyfiles
  65.     (dest @default-dest)
  66.     (source "AWNP-Docs")
  67.     (prompt #installing "AWNPipe: Documentation and Examples")
  68.     (all)
  69.   )
  70. (protect (tackon @default-dest "Demos/fonttoy") "+s")
  71. (protect (tackon @default-dest "Demos/form") "+s")
  72. (protect (tackon @default-dest "Demos/calist") "+s")
  73. (complete 90)
  74.     (working ("Activating AWNPipe:"))
  75.  
  76.             (run "C:assign AWNPipe: dismount")
  77.             (run "C:mount AWNPipe:")
  78.  
  79.  
  80. (complete 100)
  81.  
  82.  
  83. (exit  "\n\n AWNPipe:"
  84.   " is now installed.\n\n"
  85.   "Please send any bug reports or comments to\n"
  86. " William H. M. Parker <bill@amitrix.com> .")
  87.  
  88.